Optimal. Leaf size=202 \[ -\frac{2}{33} \sqrt{2 x+3} \left (3 x^2+5 x+2\right )^{5/2}+\frac{1}{99} \sqrt{2 x+3} (127 x+119) \left (3 x^2+5 x+2\right )^{3/2}-\frac{\sqrt{2 x+3} (3987 x+1246) \sqrt{3 x^2+5 x+2}}{8910}+\frac{4153 \sqrt{-3 x^2-5 x-2} F\left (\sin ^{-1}\left (\sqrt{3} \sqrt{x+1}\right )|-\frac{2}{3}\right )}{3564 \sqrt{3} \sqrt{3 x^2+5 x+2}}-\frac{15283 \sqrt{-3 x^2-5 x-2} E\left (\sin ^{-1}\left (\sqrt{3} \sqrt{x+1}\right )|-\frac{2}{3}\right )}{17820 \sqrt{3} \sqrt{3 x^2+5 x+2}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.393753, antiderivative size = 202, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 6, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.207 \[ -\frac{2}{33} \sqrt{2 x+3} \left (3 x^2+5 x+2\right )^{5/2}+\frac{1}{99} \sqrt{2 x+3} (127 x+119) \left (3 x^2+5 x+2\right )^{3/2}-\frac{\sqrt{2 x+3} (3987 x+1246) \sqrt{3 x^2+5 x+2}}{8910}+\frac{4153 \sqrt{-3 x^2-5 x-2} F\left (\sin ^{-1}\left (\sqrt{3} \sqrt{x+1}\right )|-\frac{2}{3}\right )}{3564 \sqrt{3} \sqrt{3 x^2+5 x+2}}-\frac{15283 \sqrt{-3 x^2-5 x-2} E\left (\sin ^{-1}\left (\sqrt{3} \sqrt{x+1}\right )|-\frac{2}{3}\right )}{17820 \sqrt{3} \sqrt{3 x^2+5 x+2}} \]
Antiderivative was successfully verified.
[In] Int[(5 - x)*Sqrt[3 + 2*x]*(2 + 5*x + 3*x^2)^(3/2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 54.3436, size = 197, normalized size = 0.98 \[ \frac{2 \sqrt{2 x + 3} \left (\frac{8001 x}{2} + \frac{7497}{2}\right ) \left (3 x^{2} + 5 x + 2\right )^{\frac{3}{2}}}{6237} - \frac{\sqrt{2 x + 3} \left (\frac{83727 x}{2} + 13083\right ) \sqrt{3 x^{2} + 5 x + 2}}{93555} - \frac{2 \sqrt{2 x + 3} \left (3 x^{2} + 5 x + 2\right )^{\frac{5}{2}}}{33} - \frac{15283 \sqrt{- 9 x^{2} - 15 x - 6} E\left (\operatorname{asin}{\left (\frac{\sqrt{2} \sqrt{6 x + 6}}{2} \right )}\middle | - \frac{2}{3}\right )}{53460 \sqrt{3 x^{2} + 5 x + 2}} + \frac{4153 \sqrt{- 9 x^{2} - 15 x - 6} F\left (\operatorname{asin}{\left (\frac{\sqrt{2} \sqrt{6 x + 6}}{2} \right )}\middle | - \frac{2}{3}\right )}{10692 \sqrt{3 x^{2} + 5 x + 2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((5-x)*(3*x**2+5*x+2)**(3/2)*(3+2*x)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.535119, size = 208, normalized size = 1.03 \[ -\frac{2 \left (87480 x^7-48600 x^6-2001510 x^5-6002964 x^4-8112483 x^3-5740860 x^2-2059597 x-293686\right ) \sqrt{2 x+3}-2824 \sqrt{5} \sqrt{\frac{x+1}{2 x+3}} \sqrt{\frac{3 x+2}{2 x+3}} (2 x+3)^2 F\left (\sin ^{-1}\left (\frac{\sqrt{\frac{5}{3}}}{\sqrt{2 x+3}}\right )|\frac{3}{5}\right )+15283 \sqrt{5} \sqrt{\frac{x+1}{2 x+3}} \sqrt{\frac{3 x+2}{2 x+3}} (2 x+3)^2 E\left (\sin ^{-1}\left (\frac{\sqrt{\frac{5}{3}}}{\sqrt{2 x+3}}\right )|\frac{3}{5}\right )}{53460 (2 x+3) \sqrt{3 x^2+5 x+2}} \]
Antiderivative was successfully verified.
[In] Integrate[(5 - x)*Sqrt[3 + 2*x]*(2 + 5*x + 3*x^2)^(3/2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.014, size = 162, normalized size = 0.8 \[{\frac{1}{3207600\,{x}^{3}+10157400\,{x}^{2}+10157400\,x+3207600}\sqrt{3+2\,x}\sqrt{3\,{x}^{2}+5\,x+2} \left ( -1749600\,{x}^{7}+972000\,{x}^{6}+40030200\,{x}^{5}+5482\,\sqrt{3+2\,x}\sqrt{15}\sqrt{-2-2\,x}\sqrt{-30\,x-20}{\it EllipticF} \left ( 1/5\,\sqrt{15}\sqrt{3+2\,x},1/3\,\sqrt{15} \right ) +15283\,\sqrt{3+2\,x}\sqrt{15}\sqrt{-2-2\,x}\sqrt{-30\,x-20}{\it EllipticE} \left ( 1/5\,\sqrt{15}\sqrt{3+2\,x},1/3\,\sqrt{15} \right ) +120059280\,{x}^{4}+162249660\,{x}^{3}+115734180\,{x}^{2}+42720240\,x+6485040 \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((5-x)*(3*x^2+5*x+2)^(3/2)*(3+2*x)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ -\int{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{3}{2}} \sqrt{2 \, x + 3}{\left (x - 5\right )}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-(3*x^2 + 5*x + 2)^(3/2)*sqrt(2*x + 3)*(x - 5),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (-{\left (3 \, x^{3} - 10 \, x^{2} - 23 \, x - 10\right )} \sqrt{3 \, x^{2} + 5 \, x + 2} \sqrt{2 \, x + 3}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-(3*x^2 + 5*x + 2)^(3/2)*sqrt(2*x + 3)*(x - 5),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \int \left (- 10 \sqrt{2 x + 3} \sqrt{3 x^{2} + 5 x + 2}\right )\, dx - \int \left (- 23 x \sqrt{2 x + 3} \sqrt{3 x^{2} + 5 x + 2}\right )\, dx - \int \left (- 10 x^{2} \sqrt{2 x + 3} \sqrt{3 x^{2} + 5 x + 2}\right )\, dx - \int 3 x^{3} \sqrt{2 x + 3} \sqrt{3 x^{2} + 5 x + 2}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((5-x)*(3*x**2+5*x+2)**(3/2)*(3+2*x)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int -{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{3}{2}} \sqrt{2 \, x + 3}{\left (x - 5\right )}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-(3*x^2 + 5*x + 2)^(3/2)*sqrt(2*x + 3)*(x - 5),x, algorithm="giac")
[Out]